package com.jinmdz.fmis.api.rec.model.recinfo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jinmdz.fmis.common.annotation.AnValidate;
import com.jinmdz.fmis.core.base.BaseBean;
import io.swagger.annotations.ApiModelProperty;

import java.util.ArrayList;
import java.util.Date;

/**
 * @author GaoXiangLiang
 * @date 2020/6/12 12:16
 */
public class RecInfoAllRequestData extends BaseBean {
    /**
     * 主键
     */
    private Integer id;
    /**
     * 接运二维码
     */
    private String recCode;
    /**
     * 维信appId
     */
    private String appId;
    /**
     * 查询日期
     */
    @AnValidate(name = "查询日期")
    @ApiModelProperty(value = "查询日期", name = "gmtCreate", example = "2020-02-07 23:01", position = 14)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date gmtCreate;

    /**
     * 字典编码
     */
    private ArrayList<String> dictTypeCodes;
    /**
     * 用户权限编码
     */
    private ArrayList<String> userRoleCodes;
    /**
     * 接运用编码
     */
    private String serviceItemTypeCode;

    public Integer getId() {
        return id;
    }

    public RecInfoAllRequestData setId(Integer id) {
        this.id = id;
        return this;
    }

    public String getRecCode() {
        return recCode;
    }

    public RecInfoAllRequestData setRecCode(String recCode) {
        this.recCode = recCode;
        return this;
    }

    public ArrayList<String> getDictTypeCodes() {
        return dictTypeCodes;
    }

    public RecInfoAllRequestData setDictTypeCodes(ArrayList<String> dictTypeCodes) {
        this.dictTypeCodes = dictTypeCodes;
        return this;
    }

    public ArrayList<String> getUserRoleCodes() {
        return userRoleCodes;
    }

    public RecInfoAllRequestData setUserRoleCodes(ArrayList<String> userRoleCodes) {
        this.userRoleCodes = userRoleCodes;
        return this;
    }

    public String getServiceItemTypeCode() {
        return serviceItemTypeCode;
    }

    public RecInfoAllRequestData setServiceItemTypeCode(String serviceItemTypeCode) {
        this.serviceItemTypeCode = serviceItemTypeCode;
        return this;
    }

    public String getAppId() {
        return appId;
    }

    public RecInfoAllRequestData setAppId(String appId) {
        this.appId = appId;
        return this;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public RecInfoAllRequestData setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
        return this;
    }
}
